
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="style/favicon.ico"/>
<link href="style/style.css" rel="stylesheet" type="text/css" />
<link href="style/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-3.5.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/gatling.js"></script>
<script src="js/menu.js"></script>
<script src="js/ellipsis.js"></script>
<script src="js/all_sessions.js"></script>
<script src="js/stats.js"></script>
<script src="js/highstock.js"></script>
<script src="js/highcharts-more.js"></script>
<script src="js/theme.js"></script>
<script src="js/unpack.js"></script>
<title>Gatling Stats - busca válida</title>
</head>
<body>
<div class="app-container">
<div class="frise"></div>
<div class="head">
  <div class="gatling-open-source">
    <a class="gatling-logo" href="https://gatling.io" target="blank_" title="Gatling Home Page"><img alt="Gatling" src="style/logo.svg"/></a>
    <a class="gatling-documentation" href="https://gatling.io/docs/" target="_blank">Documentation</a>
  </div>
  <a class="enterprise" href="https://gatling.io/enterprise/next-step/" target="_blank">Try <img alt="Gatling Enterprise" src="style/logo-enterprise.svg"/></a></div>
<div class="container details">
  <div class="nav">
    <ul></ul>
  </div>
    <div class="cadre">
      <div class="content">
        <div class="content-header">
          <div class="onglet">
            RinhaBackendSimulation
          </div>
          <div class="sous-menu" id="sousMenu">
            <div class="sous-menu-spacer">
              <div class="item "><a href="index.html">Global</a></div>
                <div class="item ouvert"><a id="details_link" href="#">Details</a></div>
              </div>
            </div>
          </div>
          <div class="content-in">
            <div class="container-article">
            <div class="article">
              
              
<div class="schema-container">

            <div id="ranges" class="schema ranges-large">
            </div>

                        <div class="infos">
                            <div class="infos-in">
	                        <div class="infos-title">Stats</div>
                                <div class="repli"></div>                               
                                <div class="info">
                                    <h2 class="first">Executions</h2>
                                    <table>
                                        <thead>
                                            <tr><th></th><th>Total</th><th>OK</th><th>KO</th></tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="title">Total count</td>
                                                <td id="numberOfRequests" class="total"></td>
                                                <td id="numberOfRequestsOK" class="ok"></td>
                                                <td id="numberOfRequestsKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Mean count/s</abbr></td>
                                                <td id="meanNumberOfRequestsPerSecond" class="total"></td>
                                                <td id="meanNumberOfRequestsPerSecondOK" class="ok"></td>
                                                <td id="meanNumberOfRequestsPerSecondKO" class="ko"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <h2 class="second">Response Time (ms)</h2>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th></th>
                                                <th>Total</th>
                                                <th>OK</th>
                                                <th>KO</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="title">Min</td>
                                                <td id="minResponseTime" class="total"></td>
                                                <td id="minResponseTimeOK" class="ok"></td>
                                                <td id="minResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">50th percentile</td>
                                                <td id="percentiles1" class="total"></td>
                                                <td id="percentiles1OK" class="ok"></td>
                                                <td id="percentiles1KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">75th percentile</td>
                                                <td id="percentiles2" class="total"></td>
                                                <td id="percentiles2OK" class="ok"></td>
                                                <td id="percentiles2KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">95th percentile</td>
                                                <td id="percentiles3" class="total"></td>
                                                <td id="percentiles3OK" class="ok"></td>
                                                <td id="percentiles3KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">99th percentile</td>
                                                <td id="percentiles4" class="total"></td>
                                                <td id="percentiles4OK" class="ok"></td>
                                                <td id="percentiles4KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Max</td>
                                                <td id="maxResponseTime" class="total"></td>
                                                <td id="maxResponseTimeOK" class="ok"></td>
                                                <td id="maxResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Mean</td>
                                                <td id="meanResponseTime" class="total"></td>
                                                <td id="meanResponseTimeOK" class="ok"></td>
                                                <td id="meanResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Standard Deviation</td>
                                                <td id="standardDeviation" class="total"></td>
                                                <td id="standardDeviationOK" class="ok"></td>
                                                <td id="standardDeviationKO" class="ko"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>

</div>
<div class="statistics extensible-geant collapsed">
    <div class="title">
        Errors
    </div>
    <table id="container_errors" class="statistics-in extensible-geant">
        <thead>
            <tr>
                <th id="error-col-1" class="header sortable"><span>Error</span></th>
                <th id="error-col-2" class="header sortable"><span>Count</span></th>
                <th id="error-col-3" class="header sortable"><span>Percentage</span></th>
            </tr>
        </thead>
		<tbody>
		    
		    <tr>
		    	<td class="error-col-1 total ko">status.find.in([200, 209], 304), found 502<span class="value" style="display:none">0</span></td>
		    	<td class="value error-col-2 total ko">9156</td>
		    	<td class="value error-col-3 total ko">95.474 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">i.n.c.ConnectTimeoutException: connection timed out: localhost/127.0.0.1:9999<span class="value" style="display:none">1</span></td>
		    	<td class="value error-col-2 total ko">407</td>
		    	<td class="value error-col-3 total ko">4.244 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">j.i.IOException: Premature close<span class="value" style="display:none">2</span></td>
		    	<td class="value error-col-2 total ko">27</td>
		    	<td class="value error-col-3 total ko">0.282 %</td>
		    </tr>
		</tbody>
    </table>
</div>

            <div class="schema geant">
              <div id="responsetimeDistributionContainer" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="responsetimepercentilesovertimeokPercentilesContainer" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="requests" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="responses" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="container_response_time_dispersion" class="geant"></div>
            </div>

            </div>
          </div>
        </div>
      </div>
    </div>
</div>
<script>
    var pageStats = stats.contents['req_busca-va-lida-d7f0d'].stats;
    $(document).ready(function() {
        $('.simulation-tooltip').popover({trigger:'hover', placement:'left'});
        setDetailsLinkUrl();
        setDetailsMenu();
        setActiveMenu();
        fillStats(pageStats);
        
Highcharts.setOptions({
  global: { useUTC: false }
});

var rangesChart = new Highcharts.Chart({
  chart: {
    renderTo: 'ranges',
    marginRight: 100
  },
  credits: { enabled: false },
  legend: { enabled: false },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  xAxis: {
    categories: [
      pageStats.group1.htmlName,
      pageStats.group2.htmlName,
      pageStats.group3.htmlName,
      pageStats.group4.htmlName
    ]
  },
  yAxis: {
    title: { text: 'Number of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      var s;
      if (this.point.name) { // the pie chart
        s = ''+ this.point.name +': '+ this.y +'% requests';
      } else {
        s = ''+ this.y + ' requests';
      }
      return s;
    }
  },
  plotOptions: {
    series: {
      stacking: 'normal',
      shadow: true
    }
  },
  series: [
    {
      type: 'column',
      data: [{
      	color: '#68b65c',
      	y: pageStats.group1.count
      },
      {
      	color: '#FFDD00',
      	y: pageStats.group2.count
      },
      {
      	color: '#FFA900',
      	y: pageStats.group3.count
      },
      {
      	color: '#f15b4f',
      	y: pageStats.group4.count
      }]
    },
    {
      type: 'pie',
      name: 'Percentages',
      data: [
        {
          name: pageStats.group1.name,
          y: pageStats.group1.percentage,
          color: '#68b65c'
        },
        {
          name: pageStats.group2.name,
          y: pageStats.group2.percentage,
          color: '#FFDD00'
        },
        {
          name: pageStats.group3.name,
          y: pageStats.group3.percentage,
          color: '#FFA900'
        },
        {
          name: pageStats.group4.name,
          y: pageStats.group4.percentage,
          color: '#f15b4f'
        }
      ],
      center: [368, 0],
      size: 90,
      showInLegend: false,
      dataLabels: { enabled: false }
    }
  ]
});

rangesChart.setTitle({
  text: '<span class="chart_title">Response Time Ranges</span>',
  useHTML: true
});

	    $('#container_errors').sortable('#container_errors');
    
var responsetimeDistributionChart = new Highcharts.Chart({
  chart: {
    renderTo: 'responsetimeDistributionContainer',
    type: 'column',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: 5,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  xAxis: {
    categories: ['223', '669', '1115', '1561', '2007', '2453', '2900', '3346', '3792', '4238', '4684', '5130', '5576', '6022', '6468', '6914', '7360', '7807', '8253', '8699', '9145', '9591', '10037', '10483', '10929', '11375', '11821', '12267', '12714', '13160', '13606', '14052', '14498', '14944', '15390', '15836', '16282', '16728', '17174', '17621', '18067', '18513', '18959', '19405', '19851', '20297', '20743', '21189', '21635', '22081', '22528', '22974', '23420', '23866', '24312', '24758', '25204', '25650', '26096', '26542', '26988', '27435', '27881', '28327', '28773', '29219', '29665', '30111', '30557', '31003', '31449', '31895', '32342', '32788', '33234', '33680', '34126', '34572', '35018', '35464', '35910', '36356', '36802', '37249', '37695', '38141', '38587', '39033', '39479', '39925', '40371', '40817', '41263', '41709', '42156', '42602', '43048', '43494', '43940', '44386'],
    tickInterval: 20
  },
  yAxis: {
    min: 0,
    title: { text: 'Percentage of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      return '<b>'+ this.x +' ms</b><br/>'+
      this.series.name +': '+ this.y +' %<br/>'+
      'Total: '+ this.point.stackTotal + ' %';
    }
  },
  plotOptions: {
    series: {
      groupPadding: 0,
      stacking: 'normal',
	    shadow: true
    }
  },
  series: [
  	{
type: 'column',
color: '#68b65c',
name: 'OK',
data: [
  0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
},
  	{
type: 'column',
color: '#f15b4f',
name: 'KO',
data: [
  58.16,5.08,1.53,0.51,0.35,0.25,0.11,0.13,0.34,0.31,0.35,1.11,0.99,0.68,0.36,0.14,0.32,0.99,1.06,1.43,2.38,1.86,7.15,2.15,2.39,1.57,1.97,1.2,1.01,0.68,0.39,0.19,0.02,0.12,0.36,0.61,0.28,0.47,0.2,0.18,0.33,0.04,0.0,0.02,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.01,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.01
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
}
  ]
});

responsetimeDistributionChart.setTitle({
  text: '<span class="chart_title">Response Time Distribution</span>',
  useHTML: true
});

var responsetimepercentilesovertimeokPercentiles = unpack([[1692815906,null],[1692815907,null],[1692815908,null],[1692815909,null],[1692815910,null],[1692815911,null],[1692815912,null],[1692815913,null],[1692815914,null],[1692815915,null],[1692815916,null],[1692815917,null],[1692815918,null],[1692815919,null],[1692815920,null],[1692815921,null],[1692815922,null],[1692815923,null],[1692815924,null],[1692815925,null],[1692815926,null],[1692815927,null],[1692815928,null],[1692815929,null],[1692815930,null],[1692815931,null],[1692815932,null],[1692815933,null],[1692815934,null],[1692815935,null],[1692815936,null],[1692815937,null],[1692815938,null],[1692815939,null],[1692815940,null],[1692815941,null],[1692815942,null],[1692815943,null],[1692815944,null],[1692815945,null],[1692815946,null],[1692815947,null],[1692815948,null],[1692815949,null],[1692815950,null],[1692815951,null],[1692815952,null],[1692815953,null],[1692815954,null],[1692815955,null],[1692815956,null],[1692815957,null],[1692815958,null],[1692815959,null],[1692815960,null],[1692815961,null],[1692815962,null],[1692815963,null],[1692815964,null],[1692815965,null],[1692815966,null],[1692815967,null],[1692815968,null],[1692815969,null],[1692815970,null],[1692815971,null],[1692815972,null],[1692815973,null],[1692815974,null],[1692815975,null],[1692815976,null],[1692815977,null],[1692815978,null],[1692815979,null],[1692815980,null],[1692815981,null],[1692815982,null],[1692815983,null],[1692815984,null],[1692815985,null],[1692815986,null],[1692815987,null],[1692815988,null],[1692815989,null],[1692815990,null],[1692815991,null],[1692815992,null],[1692815993,null],[1692815994,null],[1692815995,null],[1692815996,null],[1692815997,null],[1692815998,null],[1692815999,null],[1692816000,null],[1692816001,null],[1692816002,null],[1692816003,null],[1692816004,null],[1692816005,null],[1692816006,null],[1692816007,null],[1692816008,null],[1692816009,null],[1692816010,null],[1692816011,null],[1692816012,null],[1692816013,null],[1692816014,null],[1692816015,null],[1692816016,null],[1692816017,null],[1692816018,null],[1692816019,null],[1692816020,null],[1692816021,null],[1692816022,null],[1692816023,null],[1692816024,null],[1692816025,null],[1692816026,null],[1692816027,null],[1692816028,null],[1692816029,null],[1692816030,null],[1692816031,null],[1692816032,null],[1692816033,null],[1692816034,null],[1692816035,null],[1692816036,null],[1692816037,null],[1692816038,null],[1692816039,null],[1692816040,null],[1692816041,null],[1692816042,null],[1692816043,null],[1692816044,null],[1692816045,null],[1692816046,null],[1692816047,null],[1692816048,null],[1692816049,null],[1692816050,null],[1692816051,null],[1692816052,null],[1692816053,null],[1692816054,null],[1692816055,null],[1692816056,null],[1692816057,null],[1692816058,null],[1692816059,null],[1692816060,null],[1692816061,null],[1692816062,null],[1692816063,null],[1692816064,null],[1692816065,null],[1692816066,null],[1692816067,null],[1692816068,null],[1692816069,null],[1692816070,null],[1692816071,null],[1692816072,null],[1692816073,null],[1692816074,null],[1692816075,null],[1692816076,null],[1692816077,null],[1692816078,null],[1692816079,null],[1692816080,null],[1692816081,null],[1692816082,null],[1692816083,null],[1692816084,null],[1692816085,null],[1692816086,null],[1692816087,null],[1692816088,null],[1692816089,null],[1692816090,null],[1692816091,null],[1692816092,null],[1692816093,null],[1692816094,null],[1692816095,null],[1692816096,null],[1692816097,null],[1692816098,null],[1692816099,null],[1692816100,null],[1692816101,null],[1692816102,null],[1692816103,null],[1692816104,null],[1692816105,null],[1692816106,null],[1692816107,null],[1692816108,null],[1692816109,null],[1692816110,null],[1692816111,null],[1692816112,null],[1692816113,null],[1692816114,null],[1692816115,null],[1692816116,null],[1692816117,null],[1692816118,null],[1692816119,null],[1692816120,null],[1692816121,null],[1692816122,null],[1692816123,null],[1692816124,null],[1692816125,null],[1692816126,null],[1692816127,null],[1692816128,null],[1692816129,null],[1692816130,null],[1692816131,null]]);

var responsetimepercentilesovertimeokPercentilesChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responsetimepercentilesovertimeokPercentilesContainer',
    zoomType: 'x',
    marginBottom: 60
  },
  colors: ['#c4fd90', '#7ff77f', '#6ff2ad', '#61ede6', '#58c7e0', '#4ea1d4', '#487ad9', '#3f52cc', '#7335dc', '#c73905', '#FFA900'],
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false,
    baseSeries: 9
  },
  rangeSelector: {
    rangeSelector: { align: "left" },
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#92918C',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
        },
        select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Response Time (ms)' },
      opposite: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  plotOptions: {
    arearange: { lineWidth: 1 },
    series: {
      dataGrouping: { enabled: false }
    }
  },
  series: [
  
    
         {
pointInterval: 1000,
name: 'min',
data: responsetimepercentilesovertimeokPercentiles[0],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 10
},
         {
pointInterval: 1000,
name: '25%',
data: responsetimepercentilesovertimeokPercentiles[1],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 9
},
         {
pointInterval: 1000,
name: '50%',
data: responsetimepercentilesovertimeokPercentiles[2],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 8
},
         {
pointInterval: 1000,
name: '75%',
data: responsetimepercentilesovertimeokPercentiles[3],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 7
},
         {
pointInterval: 1000,
name: '80%',
data: responsetimepercentilesovertimeokPercentiles[4],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 6
},
         {
pointInterval: 1000,
name: '85%',
data: responsetimepercentilesovertimeokPercentiles[5],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 5
},
         {
pointInterval: 1000,
name: '90%',
data: responsetimepercentilesovertimeokPercentiles[6],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 4
},
         {
pointInterval: 1000,
name: '95%',
data: responsetimepercentilesovertimeokPercentiles[7],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 3
},
         {
pointInterval: 1000,
name: '99%',
data: responsetimepercentilesovertimeokPercentiles[8],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 2
},
         {
pointInterval: 1000,
name: 'max',
data: responsetimepercentilesovertimeokPercentiles[9],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 1
},
  allUsersData
  ]
});

responsetimepercentilesovertimeokPercentilesChart.setTitle({
  text: '<span class="chart_title chart_title_">Response Time Percentiles over Time (OK)</span>',
  useHTML: true
});

var requests = unpack([[1692815906,[2,0,2]],[1692815907,[2,0,2]],[1692815908,[2,0,2]],[1692815909,[2,0,2]],[1692815910,[2,0,2]],[1692815911,[2,0,2]],[1692815912,[2,0,2]],[1692815913,[2,0,2]],[1692815914,[2,0,2]],[1692815915,[2,0,2]],[1692815916,[2,0,2]],[1692815917,[2,0,2]],[1692815918,[2,0,2]],[1692815919,[2,0,2]],[1692815920,[2,0,2]],[1692815921,[2,0,2]],[1692815922,[2,0,2]],[1692815923,[2,0,2]],[1692815924,[2,0,2]],[1692815925,[2,0,2]],[1692815926,[2,0,2]],[1692815927,[2,0,2]],[1692815928,[2,0,2]],[1692815929,[2,0,2]],[1692815930,[2,0,2]],[1692815931,[4,0,4]],[1692815932,[7,0,7]],[1692815933,[7,0,7]],[1692815934,[7,0,7]],[1692815935,[8,0,8]],[1692815936,[9,0,9]],[1692815937,[9,0,9]],[1692815938,[10,0,10]],[1692815939,[10,0,10]],[1692815940,[11,0,11]],[1692815941,[11,0,11]],[1692815942,[12,0,12]],[1692815943,[12,0,12]],[1692815944,[13,0,13]],[1692815945,[13,0,13]],[1692815946,[14,0,14]],[1692815947,[15,0,15]],[1692815948,[15,0,15]],[1692815949,[15,0,15]],[1692815950,[16,0,16]],[1692815951,[17,0,17]],[1692815952,[17,0,17]],[1692815953,[17,0,17]],[1692815954,[18,0,18]],[1692815955,[19,0,19]],[1692815956,[19,0,19]],[1692815957,[20,0,20]],[1692815958,[20,0,20]],[1692815959,[20,0,20]],[1692815960,[22,0,22]],[1692815961,[21,0,21]],[1692815962,[22,0,22]],[1692815963,[23,0,23]],[1692815964,[23,0,23]],[1692815965,[24,0,24]],[1692815966,[25,0,25]],[1692815967,[25,0,25]],[1692815968,[25,0,25]],[1692815969,[26,0,26]],[1692815970,[26,0,26]],[1692815971,[27,0,27]],[1692815972,[27,0,27]],[1692815973,[28,0,28]],[1692815974,[29,0,29]],[1692815975,[29,0,29]],[1692815976,[30,0,30]],[1692815977,[30,0,30]],[1692815978,[30,0,30]],[1692815979,[31,0,31]],[1692815980,[32,0,32]],[1692815981,[32,0,32]],[1692815982,[33,0,33]],[1692815983,[33,0,33]],[1692815984,[34,0,34]],[1692815985,[34,0,34]],[1692815986,[35,0,35]],[1692815987,[35,0,35]],[1692815988,[36,0,36]],[1692815989,[36,0,36]],[1692815990,[37,0,37]],[1692815991,[38,0,38]],[1692815992,[37,0,37]],[1692815993,[39,0,39]],[1692815994,[39,0,39]],[1692815995,[40,0,40]],[1692815996,[40,0,40]],[1692815997,[40,0,40]],[1692815998,[41,0,41]],[1692815999,[42,0,42]],[1692816000,[42,0,42]],[1692816001,[42,0,42]],[1692816002,[43,0,43]],[1692816003,[44,0,44]],[1692816004,[44,0,44]],[1692816005,[45,0,45]],[1692816006,[45,0,45]],[1692816007,[46,0,46]],[1692816008,[46,0,46]],[1692816009,[47,0,47]],[1692816010,[47,0,47]],[1692816011,[48,0,48]],[1692816012,[48,0,48]],[1692816013,[49,0,49]],[1692816014,[50,0,50]],[1692816015,[50,0,50]],[1692816016,[50,0,50]],[1692816017,[51,0,51]],[1692816018,[52,0,52]],[1692816019,[52,0,52]],[1692816020,[52,0,52]],[1692816021,[53,0,53]],[1692816022,[54,0,54]],[1692816023,[54,0,54]],[1692816024,[55,0,55]],[1692816025,[55,0,55]],[1692816026,[55,0,55]],[1692816027,[56,0,56]],[1692816028,[57,0,57]],[1692816029,[57,0,57]],[1692816030,[58,0,58]],[1692816031,[58,0,58]],[1692816032,[59,0,59]],[1692816033,[60,0,60]],[1692816034,[60,0,60]],[1692816035,[60,0,60]],[1692816036,[60,0,60]],[1692816037,[62,0,62]],[1692816038,[62,0,62]],[1692816039,[62,0,62]],[1692816040,[63,0,63]],[1692816041,[64,0,64]],[1692816042,[64,0,64]],[1692816043,[65,0,65]],[1692816044,[65,0,65]],[1692816045,[65,0,65]],[1692816046,[66,0,66]],[1692816047,[67,0,67]],[1692816048,[67,0,67]],[1692816049,[67,0,67]],[1692816050,[69,0,69]],[1692816051,[68,0,68]],[1692816052,[70,0,70]],[1692816053,[70,0,70]],[1692816054,[70,0,70]],[1692816055,[70,0,70]],[1692816056,[72,0,72]],[1692816057,[72,0,72]],[1692816058,[72,0,72]],[1692816059,[73,0,73]],[1692816060,[73,0,73]],[1692816061,[74,0,74]],[1692816062,[75,0,75]],[1692816063,[75,0,75]],[1692816064,[75,0,75]],[1692816065,[76,0,76]],[1692816066,[77,0,77]],[1692816067,[77,0,77]],[1692816068,[77,0,77]],[1692816069,[78,0,78]],[1692816070,[79,0,79]],[1692816071,[80,0,80]],[1692816072,[80,0,80]],[1692816073,[80,0,80]],[1692816074,[80,0,80]],[1692816075,[81,0,81]],[1692816076,[82,0,82]],[1692816077,[82,0,82]],[1692816078,[83,0,83]],[1692816079,[83,0,83]],[1692816080,[85,0,85]],[1692816081,[84,0,84]],[1692816082,[85,0,85]],[1692816083,[85,0,85]],[1692816084,[86,0,86]],[1692816085,[87,0,87]],[1692816086,[87,0,87]],[1692816087,[87,0,87]],[1692816088,[88,0,88]],[1692816089,[89,0,89]],[1692816090,[89,0,89]],[1692816091,[90,0,90]],[1692816092,[90,0,90]],[1692816093,[90,0,90]],[1692816094,[91,0,91]],[1692816095,[92,0,92]],[1692816096,[92,0,92]],[1692816097,[93,0,93]],[1692816098,[93,0,93]],[1692816099,[94,0,94]],[1692816100,[95,0,95]],[1692816101,[95,0,95]],[1692816102,[95,0,95]],[1692816103,[95,0,95]],[1692816104,[97,0,97]],[1692816105,[97,0,97]],[1692816106,[97,0,97]],[1692816107,[98,0,98]],[1692816108,[99,0,99]],[1692816109,[99,0,99]],[1692816110,[100,0,100]],[1692816111,[39,0,39]],[1692816112,[0,0,0]],[1692816113,[0,0,0]],[1692816114,[0,0,0]],[1692816115,[0,0,0]],[1692816116,[0,0,0]],[1692816117,[0,0,0]],[1692816118,[0,0,0]],[1692816119,[0,0,0]],[1692816120,[0,0,0]],[1692816121,[0,0,0]],[1692816122,[0,0,0]],[1692816123,[0,0,0]],[1692816124,[0,0,0]],[1692816125,[0,0,0]],[1692816126,[0,0,0]],[1692816127,[0,0,0]],[1692816128,[0,0,0]],[1692816129,[0,0,0]],[1692816130,[0,0,0]],[1692816131,[0,0,0]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'requests',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of requests' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: requests[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData
  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of requests per second</span>',
  useHTML: true
});

var responses = unpack([[1692815906,[0,0,0]],[1692815907,[0,0,0]],[1692815908,[0,0,0]],[1692815909,[8,0,8]],[1692815910,[2,0,2]],[1692815911,[2,0,2]],[1692815912,[2,0,2]],[1692815913,[2,0,2]],[1692815914,[2,0,2]],[1692815915,[2,0,2]],[1692815916,[2,0,2]],[1692815917,[2,0,2]],[1692815918,[2,0,2]],[1692815919,[2,0,2]],[1692815920,[2,0,2]],[1692815921,[2,0,2]],[1692815922,[2,0,2]],[1692815923,[2,0,2]],[1692815924,[2,0,2]],[1692815925,[2,0,2]],[1692815926,[2,0,2]],[1692815927,[2,0,2]],[1692815928,[2,0,2]],[1692815929,[2,0,2]],[1692815930,[2,0,2]],[1692815931,[4,0,4]],[1692815932,[7,0,7]],[1692815933,[6,0,6]],[1692815934,[7,0,7]],[1692815935,[8,0,8]],[1692815936,[9,0,9]],[1692815937,[10,0,10]],[1692815938,[9,0,9]],[1692815939,[11,0,11]],[1692815940,[11,0,11]],[1692815941,[11,0,11]],[1692815942,[12,0,12]],[1692815943,[12,0,12]],[1692815944,[13,0,13]],[1692815945,[13,0,13]],[1692815946,[14,0,14]],[1692815947,[14,0,14]],[1692815948,[15,0,15]],[1692815949,[16,0,16]],[1692815950,[16,0,16]],[1692815951,[17,0,17]],[1692815952,[17,0,17]],[1692815953,[17,0,17]],[1692815954,[18,0,18]],[1692815955,[19,0,19]],[1692815956,[19,0,19]],[1692815957,[20,0,20]],[1692815958,[20,0,20]],[1692815959,[20,0,20]],[1692815960,[22,0,22]],[1692815961,[21,0,21]],[1692815962,[22,0,22]],[1692815963,[23,0,23]],[1692815964,[23,0,23]],[1692815965,[24,0,24]],[1692815966,[25,0,25]],[1692815967,[24,0,24]],[1692815968,[26,0,26]],[1692815969,[26,0,26]],[1692815970,[26,0,26]],[1692815971,[27,0,27]],[1692815972,[27,0,27]],[1692815973,[28,0,28]],[1692815974,[29,0,29]],[1692815975,[29,0,29]],[1692815976,[30,0,30]],[1692815977,[29,0,29]],[1692815978,[31,0,31]],[1692815979,[31,0,31]],[1692815980,[32,0,32]],[1692815981,[32,0,32]],[1692815982,[33,0,33]],[1692815983,[33,0,33]],[1692815984,[34,0,34]],[1692815985,[34,0,34]],[1692815986,[35,0,35]],[1692815987,[35,0,35]],[1692815988,[36,0,36]],[1692815989,[35,0,35]],[1692815990,[37,0,37]],[1692815991,[38,0,38]],[1692815992,[37,0,37]],[1692815993,[40,0,40]],[1692815994,[39,0,39]],[1692815995,[40,0,40]],[1692815996,[40,0,40]],[1692815997,[40,0,40]],[1692815998,[41,0,41]],[1692815999,[42,0,42]],[1692816000,[42,0,42]],[1692816001,[42,0,42]],[1692816002,[43,0,43]],[1692816003,[44,0,44]],[1692816004,[44,0,44]],[1692816005,[45,0,45]],[1692816006,[45,0,45]],[1692816007,[46,0,46]],[1692816008,[46,0,46]],[1692816009,[47,0,47]],[1692816010,[47,0,47]],[1692816011,[48,0,48]],[1692816012,[48,0,48]],[1692816013,[49,0,49]],[1692816014,[50,0,50]],[1692816015,[23,0,23]],[1692816016,[75,0,75]],[1692816017,[53,0,53]],[1692816018,[51,0,51]],[1692816019,[21,0,21]],[1692816020,[84,0,84]],[1692816021,[53,0,53]],[1692816022,[53,0,53]],[1692816023,[47,0,47]],[1692816024,[62,0,62]],[1692816025,[54,0,54]],[1692816026,[56,0,56]],[1692816027,[55,0,55]],[1692816028,[58,0,58]],[1692816029,[52,0,52]],[1692816030,[63,0,63]],[1692816031,[58,0,58]],[1692816032,[59,0,59]],[1692816033,[59,0,59]],[1692816034,[61,0,61]],[1692816035,[59,0,59]],[1692816036,[61,0,61]],[1692816037,[53,0,53]],[1692816038,[71,0,71]],[1692816039,[61,0,61]],[1692816040,[64,0,64]],[1692816041,[55,0,55]],[1692816042,[73,0,73]],[1692816043,[61,0,61]],[1692816044,[69,0,69]],[1692816045,[59,0,59]],[1692816046,[65,0,65]],[1692816047,[69,0,69]],[1692816048,[69,0,69]],[1692816049,[68,0,68]],[1692816050,[71,0,71]],[1692816051,[68,0,68]],[1692816052,[52,0,52]],[1692816053,[79,0,79]],[1692816054,[16,0,16]],[1692816055,[123,0,123]],[1692816056,[53,0,53]],[1692816057,[85,0,85]],[1692816058,[46,0,46]],[1692816059,[107,0,107]],[1692816060,[43,0,43]],[1692816061,[105,0,105]],[1692816062,[4,0,4]],[1692816063,[117,0,117]],[1692816064,[57,0,57]],[1692816065,[120,0,120]],[1692816066,[19,0,19]],[1692816067,[131,0,131]],[1692816068,[46,0,46]],[1692816069,[124,0,124]],[1692816070,[46,0,46]],[1692816071,[113,0,113]],[1692816072,[26,0,26]],[1692816073,[111,0,111]],[1692816074,[0,0,0]],[1692816075,[53,0,53]],[1692816076,[36,0,36]],[1692816077,[48,0,48]],[1692816078,[15,0,15]],[1692816079,[37,0,37]],[1692816080,[32,0,32]],[1692816081,[36,0,36]],[1692816082,[77,0,77]],[1692816083,[70,0,70]],[1692816084,[5,0,5]],[1692816085,[140,0,140]],[1692816086,[5,0,5]],[1692816087,[18,0,18]],[1692816088,[7,0,7]],[1692816089,[35,0,35]],[1692816090,[22,0,22]],[1692816091,[253,0,253]],[1692816092,[20,0,20]],[1692816093,[10,0,10]],[1692816094,[133,0,133]],[1692816095,[0,0,0]],[1692816096,[114,0,114]],[1692816097,[5,0,5]],[1692816098,[99,0,99]],[1692816099,[16,0,16]],[1692816100,[114,0,114]],[1692816101,[19,0,19]],[1692816102,[88,0,88]],[1692816103,[52,0,52]],[1692816104,[133,0,133]],[1692816105,[119,0,119]],[1692816106,[105,0,105]],[1692816107,[54,0,54]],[1692816108,[113,0,113]],[1692816109,[106,0,106]],[1692816110,[49,0,49]],[1692816111,[156,0,156]],[1692816112,[104,0,104]],[1692816113,[78,0,78]],[1692816114,[134,0,134]],[1692816115,[16,0,16]],[1692816116,[67,0,67]],[1692816117,[106,0,106]],[1692816118,[82,0,82]],[1692816119,[81,0,81]],[1692816120,[94,0,94]],[1692816121,[6,0,6]],[1692816122,[72,0,72]],[1692816123,[117,0,117]],[1692816124,[45,0,45]],[1692816125,[0,0,0]],[1692816126,[0,0,0]],[1692816127,[0,0,0]],[1692816128,[0,0,0]],[1692816129,[0,0,0]],[1692816130,[0,0,0]],[1692816131,[1,0,1]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responses',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of responses' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: responses[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
},
{
color: '#68b65c',
name: 'OK',
data: responses[1],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
{
color: '#f15b4f',
name: 'KO',
data: responses[2],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData,
{
  
type: 'pie',
name: 'Distribution',
data: [
  {name: 'OK', y: 0.0, color: '#68b65c'},{name: 'KO', y: 9590.0, color: '#f15b4f'}
],
center: [775, -40],
size: 70,
showInLegend: false,
dataLabels: { enabled: false },
dataGrouping: { enabled: false }

}

  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of responses per second</span>',
  useHTML: true
});

var scatterChart = new Highcharts.Chart({
  chart: {
    renderTo: 'container_response_time_dispersion', 
    defaultSeriesType: 'scatter',
    zoomType: 'xy',
    marginBottom: 90
  },
  credits: { enabled: false },
  xAxis: {
    title: {
      enabled: true,
      text: 'Global number of requests per second',
      style: { fontWeight: 'bold' }
    },
    startOnTick: true,
    endOnTick: true,
    showLastLabel: true,
    min: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  yAxis: {
    min: 0,
    title: { text: 'Response Time (ms)' }
  },
  tooltip: {
    formatter: function() {
         return ''+ this.y +' ms at ' + this.x + ' allreq/s';
    }
  },
  legend: {
    enabled: true,
    floating: true,
    y: 0,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
  },
  plotOptions: {
    scatter: {
      marker: {
        radius: 3,
        states: {
          hover: {
            enabled: true,
            lineColor: 'rgb(100,100,100)'
          }
        }
      },
      states: {
        hover: {
          marker: { enabled: false }
        }
      }
    }
  },
  series: [
	  {
type: 'scatter',
color: '#68b65c',
name: 'OK',
data: [
[]
]},
	  {
type: 'scatter',
color: '#f15b4f',
name: 'KO',
data: [
[5,2],[5,6],[6,3108],[6,2188],[6,1228],[6,279],[6,3],[6,5],[6,3],[6,4],[6,10],[6,24],[7,4],[7,2],[7,3],[8,5],[8,2],[8,2],[8,3],[8,3],[8,2],[9,3],[9,5],[12,2],[13,2],[16,3],[22,3],[26,2145],[30,5],[35,6],[39,3],[42,3],[46,3],[51,2],[54,2],[58,5],[63,5],[66,5],[71,4],[75,7],[79,5],[83,2],[86,3],[91,5],[94,2],[99,4],[103,2],[106,2],[110,2],[116,2],[119,6],[121,1],[128,2],[130,2],[136,2],[137,2],[143,1],[146,2],[151,1],[156,2],[158,2],[163,4],[167,2],[170,2],[176,1],[178,2],[182,4],[187,6],[192,2],[195,4],[199,2],[201,3],[209,4],[210,1],[216,2],[219,2],[222,2],[227,2],[232,3],[234,9],[240,2],[242,2],[247,2],[251,2],[256,3],[260,2],[261,4],[268,4],[271,4],[276,1],[279,2],[282,2],[287,2],[292,1],[293,13381],[295,1],[300,1],[302,8],[308,7],[311,3],[316,3],[319,3],[323,4],[326,2],[332,3],[335,2],[339,1],[343,2],[348,2],[352,2],[356,609],[359,74],[362,45],[368,9],[371,681],[376,219],[379,13],[384,10],[387,221],[392,96],[396,14],[399,8],[403,47],[408,11],[411,95],[416,29],[419,15],[424,29],[428,17],[431,9],[435,15],[439,40],[444,150],[447,362],[451,54],[453,19],[464,297],[464,430],[467,114],[471,178],[476,171],[479,472],[484,121],[488,391],[491,62],[498,187],[498,25],[504,629],[508,965],[512,970],[515,463],[521,637],[524,572],[528,662],[531,657],[535,781],[541,903],[543,1134],[548,961],[552,1017],[555,603],[561,1251],[564,510],[567,737],[572,290],[576,674],[582,361],[583,1111],[588,1830],[591,3885],[596,5423],[601,6970],[602,7403],[609,6850],[612,6976],[618,9662],[619,10187],[625,9224],[626,8353],[633,9545],[637,9182],[640,11446],[643,10818],[648,11135],[653,11390],[656,11993],[662,14033],[663,12430],[668,18379],[672,15678],[676,17512],[678,12790],[686,13816],[687,15799],[694,15594],[697,11561],[700,16622],[705,17984],[706,14165],[714,10057],[716,17034],[721,17027],[723,16270],[729,16507],[729,15608],[741,13143]
]}
	]
});

scatterChart.setTitle({
  text: '<span class="chart_title">Response Time against Global Throughput</span>',
  useHTML: true
});

    });
</script>
</div>
</body>
</html>
